package com.issue.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.issue.common.annotation.Excel;
import com.issue.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Attendance对象 a_child_attendance
 * 
 * @author system
 * @date 2024-10-20
 */
public class ChildAttendance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** Attendance Time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "Attendance Time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date attendanceDate;

    /** Child Id */
    @Excel(name = "Child Id")
    private Long childId;

    /** Child Name */
    @Excel(name = "Child Name")
    private String childName;

    /** Child Card No */
    @Excel(name = "Child Card No")
    private String childCardNo;

    /** Attendance Describe */
    @Excel(name = "Attendance Describe")
    private String attendanceDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttendanceDate(Date attendanceDate) 
    {
        this.attendanceDate = attendanceDate;
    }

    public Date getAttendanceDate() 
    {
        return attendanceDate;
    }
    public void setChildId(Long childId) 
    {
        this.childId = childId;
    }

    public Long getChildId() 
    {
        return childId;
    }
    public void setChildName(String childName) 
    {
        this.childName = childName;
    }

    public String getChildName() 
    {
        return childName;
    }
    public void setChildCardNo(String childCardNo) 
    {
        this.childCardNo = childCardNo;
    }

    public String getChildCardNo() 
    {
        return childCardNo;
    }
    public void setAttendanceDesc(String attendanceDesc) 
    {
        this.attendanceDesc = attendanceDesc;
    }

    public String getAttendanceDesc() 
    {
        return attendanceDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attendanceDate", getAttendanceDate())
            .append("childId", getChildId())
            .append("childName", getChildName())
            .append("childCardNo", getChildCardNo())
            .append("attendanceDesc", getAttendanceDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
